/*
 * Style definition for the site
 */

/* Import the font */ 
@font-face {
  /* Deco */
  font-family: "HiLo-DecoDeco";
  src: url("../files/HiLo-Deco.ttf") format("truetype");
  font-weight:  500;
  font-style:   normal;
  font-variant: normal;
  font-stretch: normal;
}	

@font-face {
	font-family: "Arista";
	src: url("../files/Arista.ttf") format("truetype");
} 
 
 
/* Main  body definition */ 
body {
	display: block;
	width: 80%;
	margin: auto;
	background-color: #F0F0F0;
	font-family: "HiLo-DecoDeco";
	font-size: 1.2em;
}

section {
	display: inline-block;
	width: 100%;
	padding: 5px;
	margin-top: 3em;
	margin:auto;
	background-color: #E3E3E3;
	
	border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

section.default {
	margin-top: 5px !important;
	display: inline-block;
	width: 80%;
	padding: 5px;
	margin: -15px auto auto 128px;
	background-color: #E3E3E3;
	position: relative;
	border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

article {
	padding-left: 30px;
	padding-top: -10px;
	display: block;
	float: left;
	width: 80%;
}

article.default {
	padding-left: 30px;
	padding-top: 30px;
	display: block;
	float: left;
	width: 50%;
}

article.center {
	display: block;
	width: 80%;
	margin: auto;
	padding: 0.5em;
	margin-left: 30px;
	position: relative;
	}

aside {
	padding: 5px;
	display: block;
	float: right;
	text-align: right;
}

aside.smalllogo {
	padding-right: 20px;
}

aside figure img.smalllogo {
	width: 140px;
	float: left;
	padding-left: 5em;
	}

input:invalid {
    border-color: red; 
    background-color: rgba(242, 72, 17, 0.5);
}

.wrongpass {
    border-color: red; 
    background-color: rgba(242, 72, 17, 0.5);
}

.rightpass {
    border-color: green;
    background-color: rgba(156, 248, 45, 0.5);
}

a {
	text-decoration: none;
	color: red;
}

a:visited {
	color: red;
}

a:hover {
	
}

a img{
	border: none !important;
}

/* Div definition */
div.error {
	color: red;
}

div#frontbar {
	display: inline-block;
	background-color: rgba(17, 64, 239, 0.5);
	color: #F0F0F0;
	text-shadow: #1140ef 2px -1px 1px;
	width: 100%;
}

div#frontbar div {
	float: right;	
	margin-right: 30px;
	font-weight: bold;
}

div#frontbar div a {
	color: #F0F0F0;
	text-decoration: none;
}

div#frontbar div a:hover {
	color: red;	
}

span.twbe {
	font-family: "Arista";
	font-size: 1.1em;
}

/* Header definition */
header {
	display: inline-block;
	width:100%;
	margin: auto;
	margin-left: 128px;
	padding-top: 8px;
	background-color: #BBD6E4;
	
	border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}
/*
header nav {
	display: block;
	border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

header nav ul {
	padding-bottom: 8px;
	list-style: none;
	width: 315px;
	margin: auto;
	margin-top: -20px;	
}

header nav ul li {
	float: left;
	display: inline;
	margin: auto;
}

header nav ul li a {
	border: 1px solid #4D4D4D;
	border-left: none;
	border-right: none;
	background-color: #D9EDF4;
	display: inline-block;
	padding-left: 0.7em;
	padding-right: 0.7em;
	padding-top: 0.2em;
	padding-bottom: 0.2em;
	color: #1140ef;
	text-decoration: none;
    text-shadow: #b9b7b2 2px -2px 1px;
}

header nav li:first-child a {
	padding-left: 1.3em;
	border-left: 1px solid #4D4D4D;
	border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-top-left-radius: 10px;
	
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
}

header nav li:last-child a {
	padding-right: 1.3em;
	border-right: 1px solid #4D4D4D;
	border-top-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-right-radius: 10px;
	
	border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
}

header nav ul li a:visited {
	color: #1140ef;	
}

header nav ul li a:hover {
	color: red; 
}
*/
header a {
	color: black !important;
	text-decoration: none;
}

heder a:visited {
	color: black !important;
}

header a:hover {
	color: black !important;
}

header h1 {
	font-family: "Arista";
	font-weight: bold;
	font-size: 2.8em;
	text-shadow: #36A3D9 3px -2px 1px;
	padding-left: 30px;
	padding-bottom: 3px;
	margin-top: -4px;
}

header div.left {
	float: left;
}

header div.right{
	float: right;
	padding-top: 25px;
	padding-right: 25px;
}

table {
	border-spacing: 0;
}

tr.textbold {
	font-weight: bold;	
}

tr.light {
	background-color: #F0F0F0; 
}

tr.light td {
	padding: 2px;
	padding-left: 30px;
	padding-right: 5px;
}

tr.dark {
	background-color: #E3E3E3;
}

tr.dark td {
	padding: 2px;
	padding-left: 30px;
	padding-right: 5px;
}

td.padcol {
	padding-left: 30px;
}

/* Footer definition */
footer {
	display: block;
	margin: 2em;
	padding: 1.5em;
	margin-top: 10em;
	background-color: #D9EDF4;
	
	border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

footer a#aboutus {
	float: right;
}
